Eventin\EventCategory\Api\EventCategoryController S

Total Complexity 44
Dependencies 5
Dependents 0
Total lines 399
Lines of code 241
Logical lines of code 102
Comment lines 96
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
delete_items()
A
49 7 33
prepare_item_for_database()
S
52 7 28
delete_item()
S
55 6 18
get_items()
S
53 4 23
create_item()
S
56 4 18
update_item()
S
56 4 17
get_category()
S
58 4 15
register_routes()
S
45 1 54
get_item()
S
66 2 8
prepare_item_for_response()
S
59 1 14
__construct()
S
77 1 4
get_item_permissions_check()
S
80 1 3
create_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3